package com.aabbc.redis.service;

import com.aabbc.redis.entity.User;

/**
 * UserService
 *
 * @author: <a href="mailto:chenfenghai@oristartech.com">chenfenghai</a>
 * @version: 1.0
 * @date: 2019-11-08 17:42
 */
public interface UserService {

    User save(User user);

    User get(Long id);

    void delete(Long id);

    void deleteAll1();

    void deleteAll2();

    void asynAddCode(String key);
}
